package com.koron.order.experiment.feign;

import com.alibaba.fastjson.JSONObject;
import com.koron.bean.base.Response;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName ExperimentEquipmentService
 * @description
 * @Author zhouj
 * @Date 2021/10/18 15:22
 */
@FeignClient(value = "eam-service-device", fallbackFactory = FeignFallbackFactory.class)
public interface ExperimentEquipmentFeignService {

    @GetMapping("/equipment/getById")
    Response<JSONObject> getById(@RequestParam("id") String id);

}
